-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Impl items have generics #55199
Impl items have generics #55199
Conversation
r? @davidtwco (rust_highfive has picked a reviewer for you, use r? to override) |
6d0acdf
to
f6703ea
Compare
This comment has been minimized.
This comment has been minimized.
f6703ea
to
8956d97
Compare
This comment has been minimized.
This comment has been minimized.
1 similar comment
@bors r+ |
This comment has been minimized.
This comment has been minimized.
src/librustc_mir/const_eval.rs
Outdated
@@ -525,7 +525,8 @@ pub fn const_eval_provider<'a, 'tcx>( | |||
tcx: TyCtxt<'a, 'tcx, 'tcx>, | |||
key: ty::ParamEnvAnd<'tcx, GlobalId<'tcx>>, | |||
) -> ::rustc::mir::interpret::ConstEvalResult<'tcx> { | |||
trace!("const eval: {:?}", key); | |||
trace!("const eval: {}", key.value.instance); | |||
trace!("const eval key: {:?}", key); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why trace both key
and key.value.instance
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because the printing via Display
of the instance goes through the code that was ICEing here before
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Get it
This comment has been minimized.
This comment has been minimized.
8956d97
to
8890a94
Compare
You just rebased, right? So we can r=davidtwco again? Cc @davidtwco |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
8890a94
to
5a48f20
Compare
rebased again, and added a comment about what's going on |
@bors r+ |
📌 Commit 5a48f20 has been approved by |
⌛ Testing commit 5a48f20 with merge 432e9f370d86b3212d1a153c263c946e979d9314... |
💥 Test timed out |
@bors retry |
Impl items have generics
Rollup of 11 pull requests Successful merges: - #55148 (Implement FromStr for PathBuf) - #55185 (path suggestions in Rust 2018 should point out the change in semantics) - #55191 (Fix sub-variant doc display) - #55199 (Impl items have generics) - #55244 (Don't rerun MIR passes when inlining) - #55252 (Add MaybeUninit::new) - #55257 (Allow extern statics with an extern type) - #55389 (Remove unnecessary mut in iterator.find_map documentation example, R…) - #55406 (Update string.rs) - #55412 (Fix an ICE in the min_const_fn analysis) - #55421 (Add ManuallyDrop::take)
No description provided.